<script setup>
defineProps(['title'])
defineEmits(['enlarge-text'])
</script>

<template>
    <p>
        {{ title }}
        <button @click="$emit('enlarge-text')">Enlarge Text</button>
    </p>
</template>